home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Resource for Source: C/C++
/
Resource for Source - C-C++.iso
/
codelib6
/
v_08_11
/
8n11088b
< prev
next >
Wrap
Text File
|
1995-11-01
|
235b
|
16 lines
class It {
public:
It( List &l) { current = head;}
Truth isend() { return (current == 0); }
T get()
{
T r = current->value();
current = current->next();
return r;
}
private:
Node *current;
};